import request from '@/utils/request'

export function detailOwner(data) {
  return request({
    url: '/admin.php?s=Admin.Owner.OwnerDetail',
    method: 'post',
    data,
  })
}

export function addOwner(data) {
  return request({
    url: '/admin.php?s=Admin.Owner.AddOwner',
    method: 'post',
    data,
  })
}

export function editOwner(data) {
  return request({
    url: '/admin.php?s=Admin.Owner.UpdateOwner',
    method: 'post',
    data,
  })
}

export function editOwnerInfo(data) {
  return request({
    url: '/admin.php?s=Admin.Owner.ModifyOwnerInfo',
    method: 'post',
    data,
  })
}
